# -*- coding:utf-8 -*-
# created by jinss

# 二进制写
f = open("wb_file", "wb")
s = "路飞"
f.write(s.encode("utf-8"))

f.close()